// 引入公共方法
import './public.js';
// 打开应用
var robot = require("robotjs");
// 鼠标移动插件引用
var mouse=robot.getMousePos();

console.log("Mouse is at x:" + mouse.x + " y:" + mouse.y);

//Move the mouse down by 100 pixels.
robot.moveMouse(100,120);

//Left click!
robot.mouseClick();
robot.mouseClick();